export interface IDictTypeItem {
  id: string;
  dataType: string;
  dataDesc: string;
  dataGroup: string;
  remark: string;
  createBy: string;
  updateBy: string;
  createTime: string;
  updateTime: string;
}

export interface IDictParams {
  current?: string | number;
  size?: string | number;
  dataType?: string;
  dataCode?: string;
  dataValue?: string;
  // parentId?: string;
  dataDesc?: string;
  remark?: string;
  enableFlag?: boolean;
  dataGroup?: string;
}

export interface IDictItemResult {
  id: string;
  dataGroup: string;
  dataType: string;
  dataCode: string;
  dataValue: string;
  dataDesc: string;
  sort: number;
  enableFlag: boolean;
  // parentId: string;
  createBy: string;
  createTime: string;
  updateBy: string;
  updateTime: string;
  remark: string;
  parentDataType: string;
  parentGroup: string;
}

export interface ICreateDictType {
  id?: string;
  dataType: string;
  dataDesc: string;
  remark: string;
}

export interface ICreateDict {
  id?: string;
  dataType: string;
  dataDesc: string;
  remark: string;
}

export interface ILocationParams {
  name?: string;
  enName?: string;
  type?: string;
}

export interface ITagType {
  id: string;
  tagName: string;
  tagSort?: number;
  createTime?: string;
  updateTime?: string;
}

export interface ILocationItemResult {
  id: string;
  // parentId: string;
  parentName: string;
  locationType: string;
  locationCode: string;
  locationLevel: string;
  locationName: string;
  locationEnName: string;
  locationSort: number;
  enableFlag: boolean;
  createBy: string;
  updateBy: string;
  createTime: string;
  updateTime: string;
  tagList: ITagType[];
}

export interface IAddLocation {
  // parentId?: string;
  locationCode?: string;
  locationName: string;
  locationEnName: string;
  locationType: string;
  locationSort: string;
}

export interface IHandleTagType {
  tagName: string;
  tagSort: number;
  id?: string;
}
